package net.homeip.mmhg.dao;

import java.util.Collection;

import net.homeip.mmhg.domain.Notification;

/**
 * DAO interface for <code>Notification</code>s.
 *
 * @author ilya gerasimov
 */
public interface NotificationDao {
	
	/**
	 * Retrieve all notification from data store.
	 * 
	 * @return <code>Collection</code> of <code>Notification</cods>s
	 */
	Collection<Notification> getNotifications();
	
	/**
	 * Find notification by ID.
	 * 
	 * @param id ID to search for.
	 * @return Instance of <code>Notification</code> if found.
	 */
	Notification getNotification(int id);
}
